<template>
  <div>
    <div v-show="kongWrap">
      <div class="lists-wrap">
        <!-- 时间nav栏 -->
        <div class="dis-wrap">
          <div class="dis-wrap-timer">
            <span>2021-06-20</span>
            <span>机票订单编号:22247919578</span>
          </div>
          <span class="el-icon-delete"></span>
        </div>
        <!-- 订单详情栏 -->
        <div class="dd-detail">
          <div>
            <div>
              <span>联合航空</span>
              <span>18:30 -- 20:40</span>
              <span>虹桥机场T2 -- 大兴机场</span>
              <span>2小时10分钟</span>
            </div>
          </div>
          <span>488起</span>
          <span>待支付</span>
          <div class="btn-buy">
            <span>付款</span>
            <span>查看详情</span>
          </div>
        </div>
      </div>
    </div>
    <div v-show="!kongWrap">
      <kong>
        <span>未查询到订单！</span>
      </kong>
    </div>
  </div>
</template>

<script>
import kong from "../../commonality/kong.vue";
export default {
  name: "WorkspaceJsonHotelorder",

  data() {
    return {
      kongWrap: false,
    };
  },
  components: {
    kong,
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.lists-wrap {
  margin-top: 30px;
  width: 100%;
  height: 190px;
  border: 1px solid rgb(199, 195, 195);
  .dis-wrap {
    display: flex;
    justify-content: space-between;
    background-color: #f7f7f7;
    font-size: 14px;
    padding: 16px 20px;
    .dis-wrap-timer {
      > span {
        margin-right: 20px;
        color: #8d8888;
      }
    }
  }
  .dd-detail {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    > div:nth-child(1) {
      display: flex;
      align-items: center;
      img {
        width: 66px;
        height: 91px;
        margin-right: 20px;
      }
      div {
        display: flex;
        flex-direction: column;
        > span {
          margin: 2px 0;
        }
        > span:nth-child(1) {
          font-size: 16px;
          font-weight: 700;
          color: #333;
        }
        > span:nth-child(2) {
          font-size: 12px;
          color: #999;
        }
        > span:nth-child(3) {
          @extend span:nth-child(2);
        }
        > span:nth-child(4) {
          font-size: 12px;
          color: #f03d37;
        }
      }
    }
    > span {
      font-size: 14px;
    }
    > .btn-buy {
      display: flex;
      flex-direction: column;
      > span:nth-child(1) {
        padding: 5px 25px;
        color: #fff;
        border-radius: 20px;
        background: #41c1ec;
        font-size: 13px;
        /* box-shadow: 0 0 3px rgba(236, 94, 94, 0.5); */
        box-shadow: 0 0 7px rgb(84, 161, 224);
        cursor: pointer;
      }
      > span:nth-child(2) {
        margin: 5px 0;
        text-align: center;
        font-size: 12px;
        cursor: pointer;
      }
    }
  }
}
</style>